package com.cykj.mapper;

import com.cykj.entity.GoodsEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

@Mapper
@Component
public interface ProDetailMapper {
    public List<GoodsEntity> selGoodsId(@Param(value = "id") int id);

    public int addorder(@Param(value = "goodsid") int id,
                        @Param(value = "time") String time,
                        @Param(value = "number") int number,
                        @Param(value = "state") String state);

}
